package com.song.order.service;

import com.song.order.entity.Orders;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author 宋伟宁
 * @Date 2024/1/11
 * @Version 1.0
 **/
@FeignClient(name = "user-8820")
public interface OrderFeignService {

    @PostMapping("/pay")
    public boolean pay(@RequestBody Orders orders);
}
